package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 功能测试表
 * </p>
 *
 * @author greedwind
 * @since 2018-10-26
 */
@TableName("t_test")
public class Test extends Model<Test> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 名称
     */
    @TableField("fd_name")
    private String fdName;
    /**
     * 日期型数据
     */
    @TableField("fd_date")
    private Date fdDate;
    /**
     * BIT数据
     */
    @TableField("fd_bit")
    private Boolean fdBit;
    /**
     * 单选
     */
    @TableField("fd_select")
    private String fdSelect;
    /**
     * 多选
     */
    @TableField("fd_select2")
    private String fdSelect2;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFdName() {
        return fdName;
    }

    public void setFdName(String fdName) {
        this.fdName = fdName;
    }

    public Date getFdDate() {
        return fdDate;
    }

    public void setFdDate(Date fdDate) {
        this.fdDate = fdDate;
    }

    public Boolean getFdBit() {
        return fdBit;
    }

    public void setFdBit(Boolean fdBit) {
        this.fdBit = fdBit;
    }

    public String getFdSelect() {
        return fdSelect;
    }

    public void setFdSelect(String fdSelect) {
        this.fdSelect = fdSelect;
    }

    public String getFdSelect2() {
        return fdSelect2;
    }

    public void setFdSelect2(String fdSelect2) {
        this.fdSelect2 = fdSelect2;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Test{" +
        "id=" + id +
        ", fdName=" + fdName +
        ", fdDate=" + fdDate +
        ", fdBit=" + fdBit +
        ", fdSelect=" + fdSelect +
        ", fdSelect2=" + fdSelect2 +
        "}";
    }
}
